<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>    

<html>
<body>
	<form method="POST" action="j_acegi_security_check" >
		<b>Username: </b><input type="text" name="j_username"><br>
		<b>Password: </b><input type="password" name="j_password"><br>
		<input type="submit" value="Login">
	</form>
</body>  
</html>

<%--                                   
<html>
<title>LOGIN with Spring Security (Acegi)</title>
<head></head>  
<body>	   
<form method="POST" action="j_acegi_security_check">
<div align="center" >   
	  
   <table border="0">         
     <tr>    
	     <td>	 
		   <div style="color: red;">
		   		<html:errors />
		   </div>
		 </td>
	</tr>   
	<tr>
		<td>	   	
	         <b>Usuario</b> 
	    </td>
	    <td>
	    	<input type="text" name="j_username" />
	    </td>
	</tr>
	<tr>
		<td>           
			 <b>Clave</b> 
	 	</td>      
	 	<td>
	 		<input type="password" name="j_password" /> 
	 	</td>
	</tr>
	<tr>
		<td colspan="2"></td>
	</tr>	
	<tr>
		<td colspan="2" align="center">
			<input type="submit" value="Login" />  
		</td>
	</tr>	
  </table>
  
</div> 
</form>                    
 
</body>       
</html>  
--%>